[v-cloak] {
  display: none;
}

.fxj-dialog-container {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .3);
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 10000;

  &.no-bg {
    background: transparent;
  }
}

@radius: 5px;

.fxj-dialog-box {
  display: flex;
  flex-direction: column;
  border-radius: @radius;
  background: white;
  min-height: 20vh;
  min-width: 65vw;
  max-width: 65vw;

}

.fxj-dialog-box-opacity {
  &.no-bg {
    padding: 1rem;
    border-radius: 5px;
    background: rgba(0, 0, 0, .4);
  }

  .spinner {
    margin: 0 auto;
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 10px;
    white-space: nowrap;
  }

  .spinner > div {
    background-color: #fff;
    height: 100%;
    width: 6px;
    display: inline-block;
    animation: stretchdelay 1.2s infinite ease-in-out;

  }

  .spinner .rect2 {
    animation-delay: -1.1s;
  }

  .spinner .rect3 {
    animation-delay: -1.0s;
  }

  .spinner .rect4 {
    animation-delay: -0.9s;
  }

  .spinner .rect5 {
    animation-delay: -0.8s;
  }

  @keyframes stretchdelay {
    0%, 40%, 100% {
      transform: scaleY(0.4);
    }
    20% {
      transform: scaleY(1.0);
    }
  }
  .fxj-dialog-box-opacity-des {
    align-self: stretch;
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 1rem 1rem 0 1rem;
  }
}

.fxj-dialog-btn-group {
  display: flex;
  position: relative;
  justify-content: center;

  &::before {
    content: '';
    position: absolute;
    border-top: 1px solid rgba(0, 0, 0, .2);
    width: 100%;
    height: 1px;
    left: 0;
    top: 0;
    transform: scaleY(.5);
    z-index: 1;
  }

  > button {
    min-width: 50%;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0;
    padding: .5rem;
    border: none;
    flex-grow: 1;

    &:first-of-type {
      border-radius: 0 0 0 @radius;
      &.border::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 1px;
        border-right: 1px solid rgba(0, 0, 0, .2);
        transform: scaleX(.5);
      }
    }
    &:last-of-type {
      border-radius: 0 0 @radius 0;
    }
  }
}

.fxj-dialog-title,
.fxj-dialog-des {
  text-align: center;
  position: relative;
}

.fxj-dialog-title {
  padding: .5rem 0;
  font-weight: 500;
  font-size: 16px;
}

.fxj-dialog-des {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  font-size: 14px;
  text-align: center;
  padding: 0 .5rem .5rem .5rem;
}

.fxj-select-box__container {
  contain: strict;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .2);
  left: 0;
  top: 0;
  z-index: 100;
  overflow: hidden;
  padding: 0 1rem;
}

.fxj-select-box__date {
  height: 80%;
  flex-grow: 1;
  background: white;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-direction: column;
}

.fxj-select-box__date--header {
  z-index: 20;
}

.fxj-select-box__date--dsc {
  font-size: 16px;
  font-weight: 500;
}

.fxj-select-box__date--title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem;
  background: darkorange;
  color: white;
  z-index: 20;
  span {
    display: inline-block;
  }
}

.fxj-select-box__date--date-info {
  padding: 1rem;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  background: white;
}

.fxj-select-box__date-num {
  color: orangered;
}

.fxj-select-box__date--btn {
  font-size: 14px;
}

.fxj-select-box__date--container {
  flex-grow: 1;
  overflow-y: scroll;
  padding-bottom: 2rem;

  &::-webkit-scrollbar {
    display: none;
  }
}

.fxj-select-box__date--calendar {
  display: flex;
  position: relative;
  flex-direction: column;
  padding-bottom: .5rem;
  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 0;
    border-top: 1px dashed rgba(0, 0, 0, .2);
    transform: scaleY(.5);
  }
}

.fxj-select-calendar--years {
  text-align: center;
  padding: 1rem 0 .5rem 0;
}

.fxj-select-calendar--week {
  display: flex;
  justify-content: center;
  align-items: center;

  > span {
    max-width: calc(100% / 7);
    min-width: calc(100% / 7);
    text-align: center;
    font-size: 14px;
  }
}

.fxj-select-calendar--day {
  display: flex;
  flex-wrap: wrap;

  > div,
  > span {
    max-width: calc(100% / 7);
    min-width: calc(100% / 7);
    text-align: center;
    font-size: 12px;
    color: #929292;

  }
  > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 3px;
    margin: 3px 0;
    height: 2rem;
    line-height: 2rem;

    > span {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 50%;
    }
    > .day {
      color: #434343;
      line-height: 15px;
    }
    > .money {
      font-size: 10px;
    }
    &.ban {
      background: #e9e9e9;
      span {
        color: #b4b4b4;
      }
    }
    &.start {
      position: relative;
      background: orangered;
      span {
        color: white;
      }

      &::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 0;
        border: 5px solid;
        border-color: white transparent transparent white;
        z-index: 101;
      }
    }
    &.end {
      position: relative;
      background: orangered;
      span {
        color: white;
      }

      &::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 0;
        height: 0;
        border: 5px solid;
        border-color: transparent white white transparent;
        z-index: 101;
      }
    }
    &.mid {
      position: relative;
      background: orangered;
      span {
        color: white;
      }
    }
    .day.today {
      color: orange;
    }
  }
}

.no-scroll,
.no-scroll body {
  overflow: hidden;
}

.no-scroll body {
  position: relative;
}

.tieku {
  display: block;
  position: relative;
  width: 100%;
  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    transform: scaleY(.5);
  }
}

.line-vertical {
  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
    border-left: 1px solid rgba(0, 0, 0, .2);
    transform: scaleX(.5);
  }
}

.line-transverse {
  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    transform: scaleY(.5);
  }
}

.highlight {
  color: orangered;
}

.omit {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tips {
  color: #6d6d72;
}

.mui-toast-container {
  pointer-events: none;
}